package cn.zkrt.iotms.module.iot.service;

import cn.zkrt.iotms.module.iot.dto.DeviceAttributeBDTO;
import cn.zkrt.iotms.module.iot.entity.DeviceAttributeB;
import cn.zkrt.iotms.module.iot.vo.DeviceAttributeBVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 设备属性表(DeviceAttributeB)表服务接口
 *
 * @author xulinyu
 * @since 2024-09-29 11:02:36
 */
public interface DeviceAttributeBService extends IService<DeviceAttributeB>{

    Boolean add(DeviceAttributeBDTO dto);

    Boolean edit(DeviceAttributeBDTO dto);

    DeviceAttributeBVO queryById(String id);

    Page<DeviceAttributeBVO> queryByPage(Page<DeviceAttributeB> page, String typeAttributeName, String deviceName);

    Boolean deleteByIds(List<Long> idList);

    List<DeviceAttributeBVO> queryByDeviceId(String deviceId);
}
